package com.jiukuaidao.zhulin.api;

import com.jiukuaidao.library.net.ApiBaseBytesAbstract;
import com.jiukuaidao.library.net.MyRetroCallBytesBack;
import com.jiukuaidao.zhulin.util.NetUtil;
import com.jiukuaidao.zhulin.util.RetrofitUtil;

import okhttp3.ResponseBody;
import retrofit2.Call;

/**
 * Author : PaiTaSuo
 * Date : 2016/6/20
 * Description :
 */
public class ApiGraphicCode extends ApiBaseBytesAbstract {
    public ApiGraphicCode(String appKey, MyRetroCallBytesBack myRetroCallBack) {
        super(myRetroCallBack);
        mParams.put("appKey", appKey);
    }


    @Override
    public Call<ResponseBody> getCall() {
        return RetrofitUtil.getApiManager(mParams, NetUtil.getResHeaderListener()).getGraphicCode(mParams);
    }
}
